import request from '@/utils/request'
const api = {
	getCarSource: 'api/car/getCarSource',
	addCarSource: 'api/UserCarWantBuy/add',
	addInquiry:'api/user_car/add',
	carUpdate:'api/UserCarWantBuy/update',
	track:'api/Browse/track'
}
// 广场首页获取列表
export function getCarSource(data) {
	return request.get(api.getCarSource, data)
}
// 批发/车源/求购/收购发布
export function addCarSource(data) {
	return request.post(api.addCarSource, data)
}
// 发布询价
export function addInquiry(data) {
	return request.post(api.addInquiry, data)
}
// 车源更新
export function carUpdate(data) {
	return request.post(api.carUpdate, data)
}

// 增加浏览记录
export function track(data) {
	return request.get(api.track, data)
}

